
<?php
$CI =& get_instance();

$CI->load->database();
$CI->load->library("front/header_lib");

$page_title =  "Make a payment";

$query_pages = $CI->db->get_where('bur_staticpages',array('staticpage_link'=>'disclaimer-ads'));

foreach($query_pages->result() as $row_vals)
{
     $title = $row_vals->staticpage_title;
	$metakey_page = $row_vals->staticpage_metakey;
    $metadesc_page = $row_vals->staticpage_metadesc;
}

$datas = array();

$CI->header_lib->display_header_element(array("script"=>array("jquery-1.4.2","jquery.validate"),"page_title"=>$title,"metakey_page"=>$metakey_page,"metadesc_page"=>$metadesc_page));
$CI->header_lib->display_header($datas);


?>
<!--body content starts-->

<div id="container_wrapper">
	<div id="body_container">
    	<div class="left_part">
<?php $this->load->view(TEMPLATE_NAME.'/front/register/side_left'); ?>

        </div>

        <div class="right_part">
            <?php
            $attributes =  array('id'=>'signupform', 'name' => 'signupform');
            echo form_open("register/rules_and_regulation",$attributes);?>
            <div class="requrest_quote">
            <ul>
            	<li>
                <div class="list_div01">&nbsp;</div>
                <div class="list_div02">
                	<h1 class="heading01">Registration </h1>
                    <p class="redTxt">Simply fill detail below and submit.</p>
                </div>
                <div class="clear"></div>
                <?php
                $content = $query_pages->result();
                echo $content[0]->staticpage_content;
                 ?>
                <div class="clear"></div>
                </li>
                <li>
                    <span style="display: inline-block; float: left;position: relative;">
                    <input name="agreed" id="agreed"  type="checkbox" value="1" />
              <span for="agreed" style="position:absolute;width:400px;top:0px;left:20px">I AGREE AND CONTINUE WITH THE POSTING</span>
                 </span>
                 <label style="margin: 2px 0 2px 0px;float: left;width: auto; clear: both;display: none" class="error" generated="true" for="agreed">Please select hour</label>
                  <div class="clear"></div>
                </li>


                <li>
                	<div class="list_div01">&nbsp;</div>
                    <div class="list_div02">
                    	<input type="submit" value="submit" name="submit_term" id="submit"  style="border:1px solid #194C75" />
                    </div>
                    <div class="clear"></div>
                </li>
                </ul>
                </div>
            <?php echo form_close();?>

        </div>
            <?php $this->load->view(TEMPLATE_NAME.'/front/side_right'); ?> 
        <div class="clear"></div>
    </div>
</div>

<!--body content ends-->

    

<!--body content ends-->
<?php
$CI->load->library("front/footer_lib");
$CI->footer_lib->display_footer();
?>
<script type="text/javascript">
$(document).ready(function(){
    
    $('#signupform').validate({
        rules:{
           agreed:'required'
        },
        messages: {
            agreed :'Please agree rules and regulation'
        }
    });

});
</script>
<?php
$CI->footer_lib->display_footer_element();

?>